package com.youedata.modular.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youedata.modular.entity.Feedback;
import com.youedata.modular.mapper.FeedbackMapper;
import  com.youedata.modular.service.IFeedbackService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 反馈 服务实现类
 * </p>
 *
 * @author qyy
 * @date 2021-08-08
 */
@Service
@Transactional(rollbackFor = Exception.class)

public class FeedbackServiceImpl extends ServiceImpl<FeedbackMapper, Feedback> implements IFeedbackService {
    @SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")
    @Autowired
    private FeedbackMapper feedbackMapper;

    @Override
    public List queryFuzzySearch(Page page, Feedback feedback) {
        return feedbackMapper.queryFuzzySearch(page,feedback);
    }
}

